//index.js
const app = getApp()
Component({
    properties: {
      progress: {
        type: [Number,String],
        value: 0,
        observer: function(newVal, oldVal) {
          if (newVal > 100) {
            this.setData({
              progress: 100
            });
          } else if (newVal < 0) {
            this.setData({
              progress: 0
            });
          }
        }
      },
      minPrice:{
        type: [Number,String],
        value: 0,
      },
      maxPrice:{
        type: [Number,String],
        value: 0,
      }
    }
  });
  
